package com.junzhiit.nengji.app.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.junzhiit.nengji.app.service.GoodsDataHistoryService;
import com.junzhiit.nengji.app.web.vo.ResultVO;
import com.junzhiit.nengji.bo.GoodsDataHistoryBO;
import com.junzhiit.nengji.dao.GoodsDataHistoryDAO;

@Service
public class GoodsDataHistoryServiceImpl extends BaseServiceImpl implements GoodsDataHistoryService{
	
	@Autowired
	private GoodsDataHistoryDAO goodsDataHistoryDAO;
	
	@Override
	public ResultVO findAll(String ordersDataHistoryId) {
		ResultVO result = new ResultVO();
		List<GoodsDataHistoryBO> list = goodsDataHistoryDAO.findAll(ordersDataHistoryId);
		result.setData(list);
		return result;
	}

}
